﻿namespace Loong.Configuration
{
    public static class MySqlConfigurationExtensions
    {
        public static DbConfigurationOptionsBuilder UseMySql(this DbConfigurationOptionsBuilder builder, string connectionString)
        {
            builder.Options.ConfigurationProvider = new MySqlConfigurationProvider(connectionString);

            return builder;
        }
    }
}
